setOrientation

open fun setOrientation(orientation: Int)(source)

Should the layout be a column or a row.

Parameters

orientation

Pass HORIZONTAL or VERTICAL. Default value is HORIZONTAL.